/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package pracamagisterska;

/**
 *
 * @author Adrian
 */
public final class ReviewList {
    private int id;
    private String name;
    private String surname;
    private String mail;
    private boolean news;
    private String sex;
    private String birthdate;
    private String birthplace;
    private String nationality;
    private String address;
    private String identity;   
    private String checkin;
    private String checkout;
    private int apt;  
    
    public ReviewList(String in, String out, int apt){
        setCheckin(in);
        setCheckout(out);
        setApt(apt);
    }
    public ReviewList(int id, String name, String surname, String mail, String sex, String bp, String bd, String nat, String ad, String identy, Boolean news){
        setId(id);
        setName(name);
        setSurname(surname);
        setMail(mail);
        setSex(sex);
        setBirthplace(bp);
        setBirthdate(bd);
        setNationality(nat);
        setAddress(ad);
        setIdentity(identy);
        setNews(news);
    }
    
    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public int getApt() {
        return apt;
    }

    public void setApt(int apt) {
        this.apt = apt;
    }

    public String getBirthdate() {
        return birthdate;
    }

    public void setBirthdate(String birthdate) {
        this.birthdate = birthdate;
    }

    public String getBirthplace() {
        return birthplace;
    }

    public void setBirthplace(String birthplace) {
        this.birthplace = birthplace;
    }

    public String getCheckin() {
        return checkin;
    }

    public void setCheckin(String checkin) {
        this.checkin = checkin;
    }

    public String getCheckout() {
        return checkout;
    }

    public void setCheckout(String checkout) {
        this.checkout = checkout;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getIdentity() {
        return identity;
    }

    public void setIdentity(String identity) {
        this.identity = identity;
    }

    public String getMail() {
        return mail;
    }

    public void setMail(String mail) {
        this.mail = mail;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getNationality() {
        return nationality;
    }

    public void setNationality(String nationality) {
        this.nationality = nationality;
    }

    public boolean isNews() {
        return news;
    }

    public void setNews(boolean news) {
        this.news = news;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getSurname() {
        return surname;
    }

    public void setSurname(String surname) {
        this.surname = surname;
    }
    
    @Override
    public String toString(){
        String r;
        return getName()+" \t"+getSurname();
    }
            
    

    
    
}
